
package com.wyzz.hr.bo;

import java.math.BigDecimal;
import java.util.*;
import org.hibernate.criterion.DetachedCriteria;

import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Leaverequest;
import com.wyzz.hr.pojo.Leavetype;
import com.wyzz.hr.util.Pager;
import com.wyzz.hr.vo.ExaminSearchBean;

public interface ILeaverequestBO extends IEmpApproverBo {

	public abstract Leaverequest loadOneLeaverequest(String s, String as[]);

	public abstract List getTotalStatusSetList(Employee employee, Date date,
			Date date1, Leavetype leavetype, Integer ainteger[]);

	public abstract List delLeaveRequest(String s, Employee employee);

	public abstract List loadLeaveRequests(String as[], String as1[]);

	public abstract Leaverequest loadLeaverequest(String s);

	public abstract void examinSearch(ExaminSearchBean examinsearchbean,
			DetachedCriteria detachedcriteria, Pager pager);

	public abstract void approverMgrSearch(ExaminSearchBean examinsearchbean,
			Employee employee, Pager pager);

	public abstract void approverHRSearch(ExaminSearchBean examinsearchbean,
			Pager pager);

	public abstract void lrAllSearch(ExaminSearchBean examinsearchbean,
			Pager pager);

	public abstract BigDecimal[] getTotalUsedDay(Employee employee, int i,
			Leavetype leavetype, int ai[]);

	public abstract Map getLeaveTotal(String s);

	public abstract void deleteLeaverequest(String as[]);
}
